package cn.lysoy.demo.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 后台用户和权限关系表(除角色中定义的权限以外的加减权限)
 * @TableName ums_admin_permission_relation
 */
@TableName(value ="ums_admin_permission_relation")
@Data
public class UmsAdminPermissionRelation implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    @TableField(value = "admin_id")
    private Long adminId;

    /**
     * 
     */
    @TableField(value = "permission_id")
    private Long permissionId;

    /**
     * 
     */
    @TableField(value = "type")
    private Integer type;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}